package day08.synch.thread;

import day08.synch.SyncTest;

/**
 * @Auther: sky
 * @Date: 2019/3/4 22:53
 * @Description:
 */
public class ThreadA extends Thread {

    private SyncTest syncTest;

    public  ThreadA(SyncTest syncTest){
        this.syncTest=syncTest;
    }

    @Override
    public void run() {
        super.run();
        syncTest.add("a");
    }

}
